<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@page import="dyyx.dto.*"%>
<%@page import="dyyx.util.*"%>
<%@page import="java.util.*"%>
<%@page import="org.apache.kafka.clients.admin.*"%>
<%@page import="org.apache.kafka.common.*"%>


<%

WebResult webResult = new WebResult();
KafkaViewWebUtil.getConfig(request, webResult);
List<ConfigEntry> configList = webResult.configList;
if(configList==null){
	configList = new ArrayList<ConfigEntry>();
}





%>

<%@include file="/comm.jsp"%>


<hr>

<%=new Date() %> <br>
<%=webResult.msg %>

<hr>

configType <%=webResult.configType %> <br>

<%if("topic".equals(webResult.configType)){ %>
topic:<%=webResult.topic %> <br>
<%}%>

<%if("broker".equals(webResult.configType)){ %>

brokerId:<%=webResult.brokerId %> <br>
<%}%>


msg:<%=webResult.msg %> <br>


<table>

<tr class='title'>

<td>name</td>
<td>value</td>

<td>source</td>
<td>Sensitive</td>
<td>ReadOnly</td>
<td>isDefault</td>


</tr>



<%for(ConfigEntry item:configList){ %>

<tr>
<td><%=item.name() %></td>
<td><%=item.value() %></td>
<td><%=item.source() %></td>
<td><%=item.isSensitive() %></td>
<td><%=item.isReadOnly()  %></td>
<td><%=item.isDefault() %></td>

</tr>

<%} %>


</table>



<hr>



<hr>


<br><br><br>
